package com.library.gq.servce;


import com.library.gq.entity.BookEntity;
import com.library.gq.util.Page;

public interface BookServce {
    /**
     * donateBook表进行分页查询
     * @param name:姓名
     * @param currentPage:页数
     * @return
     */
    Page<BookEntity> findByPage(String name, Integer currentPage);

    /**
     * claim表的分页查询
     * @param coountPate:页数
     * @return
     */
    Page<BookEntity> claim(Integer coountPate);
}
